# 关于打印
from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.find_element_by_id("kw").send_keys("新海诚")
driver.find_element_by_id("su").submit()
time.sleep(3)
title = driver.title
url1 = driver.current_url
print(title)
print(url1)
driver.quit()